SftTree/OCX 7.0

SftTreeColumn.SelectBackColor Property

Softel vdm, Inc.

Defines the background color of selected items in this column.

Syntax       

 

Get

VB.NET

Clr = object.SelectBackColor  As UIntegerLanguage-specific information

VB

Clr = object.SelectBackColor  As OLE_COLOR

C#.NET

uintLanguage-specific information Clr = object.SelectBackColor;

VC++

OLE_COLOR Clr = object->SelectBackColor;
OLE_COLOR Clr = object->GetSelectBackColor();

C

HRESULT object->get_SelectBackColor(OLE_COLOR* Clr);

Delphi

Clr := object.SelectBackColor  : Cardinal;

Put

VB.NET

object.SelectBackColor = Clr  As UIntegerLanguage-specific information

VB

object.SelectBackColor = Clr  As OLE_COLOR

C#.NET

uintLanguage-specific information object.SelectBackColor = Clr;

VC++

OLE_COLOR object->SelectBackColor = Clr;
void object->PutSelectBackColor(OLE_COLOR Clr);

C

HRESULT object->put_SelectBackColor(OLE_COLOR Clr);

Delphi

object.SelectBackColor := Clr  : Cardinal;

object

A SftTreeColumn object.

Clr

Defines the background color of selected items in this column. -1 indicates that there is no defined color and the default colors are used. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

The SelectBackColor property defines the background color of selected items in this column.

Cells can override the background color using the Cell.SelectBackColor property.  If a selected item uses a selection style (Items.SelectStyle property) that uses the Column.SelectBackColor property for only portions of the item, the Column.BackColor property is used for the remainder of the item. 

The SelectBackColor property can be used to define the default background color of cells in this column, combined with SelectBackColorEnd creating a gradient fill.

See Also  SftTreeColumn Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com